gdk/surface: Allow inhibit layout from backend
authorJonas Ådahl <jadahl@gmail.com>
Fri, 4 Dec 2020 23:11:08 +0000 (00:11 +0100)
committerJonas Ådahl <jadahl@gmail.com>
Mon, 7 Dec 2020 19:37:29 +0000 (20:37 +0100)
commit3bbeb891c4cfbbeec86846633027350e87cbd1f7
tree9ada4b71fba65853411429770e5793a0f2b8e0d8
parentff23a2a58238b1b69142754254c6159b08f7fa4b
gdk/surface: Allow inhibit layout from backend

If compute_size() returns TRUE, the layout will not be propagated to
GTK. This will be used by the X11 backend to queue asynchronous resizes
that shouldn't yet allocate in GTK.
gdk/gdksurface.c
gdk/gdksurfaceprivate.h
gdk/wayland/gdksurface-wayland.c
gdk/x11/gdksurface-x11.c